const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    port: 3456,
    open: true,
  },
  css: {
    loaderOptions: {
      scss: {
        // 新版本把 prependData 换成 additionalData 了，值不变
        // prependData: `@import "@/assets/scss/_variable.scss";`,
        additionalData: `@import "@/assets/scss/_variable.scss";`,
      },
    },
  },
})
